Streaming graphic method and arrangement data for building control systems

ABSTRACT

A method of updating building control system values includes instantiating a server object on a data server corresponding to a set of BCS values. The method also includes generating in a web server a data request associated with the server object and providing the data request to the data server. The method also includes providing a response to the data request if a change in at least one of the set of BCS values is acknowledged in the server object. The method further includes holding the data request open if no change in at least one of the set of BCS values is acknowledged and a predetermined time period has not elapsed since the data request was provided to the data server.

This is a continuation-in-part of U.S. patent application Ser. No. 10/463,818, filed Jun. 17, 2003, which claims the benefit of U.S. Provisional Patent Application Ser. No. 60/389,328, which in its entirety is incorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates generally to building systems, and more particularly, to remote monitoring of building control systems.

BACKGROUND OF THE INVENTION

Building control systems encompass a wide variety of systems that aid in the monitoring and control of various aspects of building operation. Building control systems include security systems, fire safety systems, lighting systems, and heating, ventilation, and air conditioning (“HVAC”) systems. In large commercial and industrial facilities, such systems have an extensive number of elements and are highly automated.

The elements of a building control systems are widely dispersed throughout a facility. For example, an HVAC system includes temperature sensors and ventilation damper controls, as well as other elements, that are located in virtually every area of a facility. Similarly, a security system may have intrusion detection, motion sensors and alarm actuators dispersed throughout an entire building or campus. Likewise, fire safety systems include smoke alarms and pull stations dispersed throughout the facility. To achieve efficient and effective building control system operation, there is a need to monitor the operation of, and often communicate with, the various dispersed elements of a building control system.

To this end, building control systems typically have one or more centralized control stations in which data from the system may be monitored, and in which various aspects of system operation may be controlled and/or monitored. The control station typically includes a computer having processing equipment, data storage equipment, and a user interface. To allow for monitoring and control of the dispersed control system elements, building control systems often employ multi-level communication networks to communicate operational and/or alarm information between operating elements, such as sensors and actuators, and the centralized control station.

Initially, control stations provided building control data in text format, which typically required intimate system knowledge to interpret and understand. As building control systems become more complex, it has become increasingly advantageous to present building system data in a more intuitive manner. Thus, control stations of building control systems now generally employ graphical user interfaces that combine text information with representative graphics to illustrate the context of the system data being displayed.

An example of the use of representative graphics may be the use of a thermometer shaped graphic to represent a temperature reading, as opposed to a simple one line text value. Similarly, the alarm status for a floor of building may be represented on a graphical display of the building floor plan, as opposed to a simple text list of alarm locations.

One example of a building control system control station that employs a graphical user interface in the control station is the Apogee Insight™ Workstation, available from Siemens Building Technologies, Inc. of Buffalo Grove, Ill., which may be used with the model Apogee™ building control system, also available from Siemens Building Technologies, Inc. In this system, several control stations, connected via an Ethernet or another type of network, may be distributed throughout one or more building locations, each having the ability to monitor and control system operation. As a consequence, different people in different locations of the facility may monitor and control building operations.

While the use of multiple networked control stations provides a high level of convenience and efficiency, there has been a growing need to be able to monitor and/or control systems from offsite locations.

To address this need, the use of Internet access to a building control system has been proposed, as discussed in U.S. Pat. No. 6,157,943 to Meyer (hereinafter the “943 Patent”). The '943 Patent describes a relatively straightforward system that incorporates ASP technology available from Microsoft Corporation of Redmond, Wash. to generate web pages that incorporate building control system information. The system described in the '943 Patent builds graphical web pages that include building system data, and then transmits the graphical web pages to a web client. The '943 Patent appears to describe the intended use of the ASP technology.

There are, however, significant limitations to the type of system described in the '943 Patent. In particular, when building control system information is transmitted in a graphical image context, it requires significant bandwidth and download time. As a consequence, receiving updates over the Internet can be time consuming and inefficient as compared to receiving updates on a control computer that is connected directly to the building system network. While ongoing data communication developments improve Internet download speeds, it nevertheless can take significant time to download pages full of graphics. Moreover, if several clients access the same web server, the large, graphics-intensive downloads may slow the response time of the server, thereby also increasing the delay in receiving graphical build system user interface screens.

There is a need, therefore, for a method of providing faster and more frequent updates in a remote building system monitoring device using the Internet. Preferably, such a system would retain the ability present data in graphical format.

SUMMARY OF THE INVENTION

Present invention does this by providing streaming graphics by providing a first transmission that includes an interpreted-language program that builds and update graphics at a client computer so that updates to building system may be transmitted without large amounts of graphical data. As a result, updates to building control system graphical use interface may be provided over the Internet at relatively high speeds.

An embodiment of the invention is a method that includes receiving an interpreted program over the Internet using a web-browser. The method further includes executing the interpreted program to display at least a first graphical element, the first graphical element having a fixed element and a variable element, the variable element representative of a first value. The method also includes executing the interpreted program to receive at least a second value over the Internet, the second value comprising non-graphical information, and executing the interpreted program to display the first graphical element such that the variable element is representative of the second value.

Another embodiment of the invention is an arrangement for displaying building automation information that includes a source of values pertaining to a building control system and a web server. The web server is operably connected to receive to obtain a first value from the source of values. The web server is further operable to provide an executable program file to a web client that, when executed by the web client, causes the web client to display at least a first graphical element, the first graphical element having a fixed element and a variable element, the variable element representative of the first value. The web server is also operable to obtain a second value from the plurality of values from the database server, and provide the second value to the web client as non-graphical information. The interpreted program causes the web client to display the first graphical element such that the variable element is representative of the second value.

Thus, the present invention avoids the problems of retransmission of graphics by merely retransmitting building control system values. The previously downloaded programs can then render a new graphic using the updated values and previously received graphic data. As a consequence, live streaming updates may be accomplished without retransmitting all of the graphic information.

The above described features and advantages, as well as others, will become more readily apparent to those of ordinary skill in the art by reference to the following detailed description and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a system block diagram of an arrangement for displaying building control system information according to the invention;

FIG. 2 shows a block diagram of an exemplary building control system that may be used as a source of building control system data in the arrangement of FIG. 1;

FIG. 3 shows an exemplary graphic page that may be generated and updated in accordance with the present invention;

FIG. 4 shows in further detail a block diagram of an exemplary web server that may be used as the web server of FIG. 1;

FIG. 5 shows an exemplary flow diagram of the steps performed by the arrangement of FIG. 1;

FIG. 6 shows an exemplary flow diagram of the steps performed by the arrangement of FIG. 1 to poll updated building control system values;

FIG. 7 shows an exemplary flow diagram of the steps performed by the arrangement of FIG. 1 to push updated building control system values; and

FIG. 8 shows a flow diagram of an exemplary set of steps performed by a data server to provide updated building control system values when one or more building control system values change.

DETAILED DESCRIPTION

FIG. 1 shows a system block diagram of an exemplary arrangement 100 for displaying building automation information according to the invention. The arrangement 100 includes a building control system (“BCS”) data source 102, a web server 104, a network 106 and a web client 108.

The BCS data source 102 preferably includes a data server that is operable to obtain a plurality of values representative of variables on a building control system in response to queries received from one or more external applications. A building control system is a distributed building system that provides control functions for any one of a plurality of building operations. As discussed above, building control systems may include HVAC systems, security systems, life or fire safety systems, industrial control systems and the like. An example of a BCS is the APOGEE™ system available from Siemens Building Technologies, Inc. of Buffalo Grove, Ill. The values representative of variables of the BCS includes values representative of temperature set points, air flow set points, actuator commands, alarms, temperature measurements, liquid or air flow measurements, device status, and the like. There are an extensive variety of BCS values that would be known to those of ordinary skill in the art.

Thus, the BCS data source 102 provides access to variables generated by the building system, such as alarm status, maintenance information, measured quantities such as temperature or air flow in an HVAC system, and may also provide access to control variables, such as temperature set points.

BCS systems are well known, and most if not all sophisticated building systems include data servers in which BCS variables may be accessed. While the BCS data source 102 may be a data server of any number of suitable types, the BCS data source 102 in the exemplary embodiment described herein may suitably include a DCOM server operable to provide data serving operations through a DCOM interface, as is well known in the art. The BCS data source may alternatively include any other commercially available BCS data server. FIG. 2, discussed further below, shows an exemplary block diagram overview of a BCS system having a data server that may be used as the BCS data source 102.

The web server 104 is a computer or other processing system that is programmed to carry out data operations for remote client computers such as the client 108. In general, such operations include obtaining BCS data from the BCS data source 102, and, preferably, also providing BCS commands to the BCS data source 102.

To provide such operations for clients, the web server 104 is connected to various clients, including the client 108, via a network 106. In the exemplary embodiment described herein, the network 106 is the Internet. However, in other embodiments, the web server 104 may be connected to the client 108 via another type of network.

The client 108 preferably includes web browser software capable of performing typical web browser functions, such as interpretation of mark-up languages such as HTML, and interpretation of a universal (or “virtual machine”) programming language such as Java or a component architecture concept such as ActiveX. Such web browser software is well known and may suitably be the commercially available Netscape Navigator browser software, Windows Explorer browser software, or the like.

In a first operation of the arrangement 100, the web server 104 provides BCS data in graphical user interface format to the client 108 via the network 106. To this end, the web server 104 is operably connected to, among other things, obtain a first value from the BCS data source 102. The web server 108 may access the BCS data through a DCOM object or component of a DCOM BCS data server, not shown (see FIG. 2), using a data request. Those of ordinary skill in the art would know how to employ a DCOM component to obtain data from a DCOM data server.

In particular, in one exemplary embodiment, the web server 104 is operable to execute a VB script that causes establishment of a DCOM object through which data may be retrieved from the data server 102. The DCOM object or component allows a data request to, among other things, read data from, or write data to, the BCS data source 102. To enable establishment and use of the DCOM object from a VB script, the VB script uses the DCOM automation interface, as is known in the art. Information regarding the use of the VB script and the DCOM automation interface is known to those of ordinary skill in the art and generally available by or through Microsoft Corporation of Redmond, Wash.

Once the web server 104 provides BCS data in graphical user interface format to the client 108 via the network 106, the client 108 is operable to display the BCS data in a graphical interface.

To this end, in the exemplary embodiment described herein, the web server 104 is further operable to provide an executable program file to a web client that, when executed by the web client, causes the web client to display at least a first graphical element. The executable program file is preferably a Java language file interpreted by the web browser on the client 108. The first graphical element is representative of BCS information and includes a fixed element and a variable element. The variable element of the first graphical element is representative of the BCS data value obtained from the BCS data source 102. The fixed element includes contextual graphical images relating to the BCS.

In particular, it is common for BCS data to be represented on a visual display as a combination of variable or active graphical elements, sometimes referred to as controls, and fixed or static elements, referred to collectively as a background. FIG. 3, by way of example, shows a chiller plant graphic element having a plurality of variable controls 310, 312, 314, 316, 318, 320, 322, 324, 328, 330 and 332 and a set of static elements that collectively constitute the fixed background graphic 340. Another example is shown in FIG. 5 of U.S. Pat. No. 6,157,943, wherein the active controls includes variable controls 81-84 and the fixed background graphic is the “floor plan” graphic of FIG. 5.

The web server 104 is thus operable to generate one or more routines in an executable program file, such as one or more Java scripts or programs, that when executed by the client 108, build graphic pages that include fixed graphic elements and variable graphic elements. To this end, the web server 104 provides the executable program file, the raw graphical information for the fixed graphic element, and instructions for rendering the variable graphic elements based on received BCS values. The web server 104 further provides at least a first BCS value for use in rendering at least one variable graphic element. The first BCS value may be transmitted along with the executable program file, but typically will be transmitted in a later transmission.

Thus, by way of example, to cause the client 108 to render the graphic element 300 of FIG. 3, the web server 104 would transmit 1) the graphic data for the background element 340, 2) Java-language instructions for rendering the background element 340, 3) Java-language instructions for rendering the variable controls 310-332, and 4) the values for populating the variable controls 310-332, such as temperature values, alarm status values, and the like. The Java instructions are preferably provided as a Java Applet that controls overall operation of the graphics operations, and Java Beans that define the configurations for the variable controls.

The client 108, executing the interpreted (e.g. Java) program previously provided by the web server 104, then displays the first graphical element such that the variable element is representative of the first BCS value. Consider an example in which the client 108 renders the graphic element 300 of FIG. 3. In such a case, the client 108 renders the variable control 312 to include the BCS value of 34.00°, and renders the variable control 332 to graphically depict the BCS value of 42.5°.

The web server 104 is further operable to provide updates to the graphic element generated by at the client. To this end, the web server 104 is operable to provide one or more subsequent BCS values from the BCS data source 102. The subsequent values are in non-graphical format, and are generally updates to the previously received BCS values. For example, if the first BCS value was a temperature value, then the subsequent value would be an updated version of that temperature value.

The client 108, executing the interpreted program previously provided by the web server 104, then displays the first graphical element such that the variable element is representative of the subsequent value. Thus, for example, if the first graphical element is the graphic 300 of FIG. 3, and the variable element is the control element 312, then the interpreted program would change the temperature value displayed in the variable control element 312 based on the subsequent value received from the web server 104. As a consequence, the appearance of the first graphic element on the client 108 may be changed based on newly received values from the web server 104.

Because the subsequent value is in the form of non-graphical information, for example, numeric or text data, transmission of the subsequent value over the network 106 requires relatively little bandwidth and download time. Thus, while the initial transmission of the executable program and fixed graphical data over the network 106 requires more substantial bandwidth, such transmission need not be repeated for each update to the graphics page. Thus, multiple subsequent updates to the graphic page displayed at the web client 108 may occur using little bandwidth, and requiring relatively short download time. By contrast, prior art devices transferring completed web pages with significant amounts of graphical image information with each update require relatively far more download time.

Moreover, even if the subsequent value included some graphical information, it is still more efficient to download only updates to the BCS values in whatever format, as opposed to the entire graphic page.

Referring now in greater detail to the BCS data source 102, the BCS data source 102 as discussed above preferably includes a DCOM data server that has access to relatively current variable values in the BCS system. Such servers are known in the art.

FIG. 2 shows an exemplary, representative block diagram of a building control system 200 that includes an exemplary embodiment of the BCS data source 102 of FIG. 1. The building control system 200 includes at least one supervisory control system 202, a system database 204, plural field panels 206 a and 206 b, and plural controllers 208 a-208 e. It will be appreciated, however, that wide varieties of BCS architectures may be employed.

Each of the controllers 208 a-208 e represents one of plurality of localized, standard building control subsystems, such as space temperature control subsystems, lighting control subsystems, or the like. Suitable controllers for building control subsystems include, for example, the model TEC (Terminal Equipment Controller) available from Siemens Building Technologies, Inc., of Buffalo Grove, Ill. Larger, more complex subsystems such as chiller plant control subsystems may employ a model UC (Unitary Controller) programmable controller, also available from Siemens Building Technologies.

Groups of subsystems such as those connected to controllers 208 a and 208 b are typically organized into floor level networks (“FLNs”) and generally interface to the field panel 206 a. The field panel 206 a may suitably be any Apogee field panel device available from Siemens Building Technologies. To facilitate communications among the devices, the FLN data network 210 a is a low-level data network that may suitably employ any suitable proprietary or open protocol. Subsystems 208 c, 208 d and 208 e along with the field panel 206 b are similarly connected via another low-level FLN data network 210 b.

The field panels 206 a and 206 b are also connected via a building level network (“BLN”) 212 to the supervisory computer 202 and the database 204. The field panels 206 a and 206 b thereby coordinate the communication of data and control signals between the subsystems 208 a-208 e and the supervisory computer 202 and database 204. The supervisory computer 202 provides overall control and monitoring of the building control system 200 and includes a user interface. The supervisory computer 202 further operates as a BCS data server that exchanges data with various elements on the 200 via an asynchronous data server 203. The BCS data server can also exchange data with the database 204. The BCS data server (i.e. BCS data server 102) allows access to the BCS system data by various applications. Such applications may be executed on the supervisory computer 202 or other supervisory computers, not shown, connected via a management level network (“MLN”) 213.

To this end, in the exemplary embodiment described herein, the BCS data server includes a DCOM data server. Implementation of a DCOM server on a building system having the generalized architecture 200 would be known to those of ordinary skill in the art.

The asynchronous data server 203 is a function that obtains data from (and transmits commands to) various elements of the system 200 upon request. To this end, as requests for certain values are made to the BCS data server on the supervisory computer 202, the asynchronous data server 203 determines which element of the system 200 stores and/or generates the requested data. For example, if a measured temperature value for a particular zone is requested, the asynchronous data server 203 determines the identity of the device that measures the temperature and, and the identity the subsystem 208 x on which the device is located. The asynchronous data server 203 generates a request to the corresponding network manager 206 x, which in turn obtains the data from the temperature measurement device on the subsystem 208 x. Such systems and data manipulations on a building control system are generally known in the art.

The supervisory computer 202 is operably connected to the web server 104, not shown in FIG. 2, the database 204, and other supervisory computers, not shown, via the MLN 213 that may suitably be an Ethernet. The supervisory computer 202 uses the MLN 213 to communicate BCS data to and from other elements on the MLN 213, including the web server 104.

The database 204 stores historical data, error data, system configuration data, graphical data and other BCS system information. In the embodiment described herein, the database 204 also stores the background data for the fixed graphic elements, as well as the configuration information for the variable control graphics. Storage of the graphical information within the system 200 allows other computers in the system 200 to obtain and render graphics without necessarily employing an Internet connection and thus without using the web server 104 of FIG. 1. However, in alternative embodiments, much or all of the graphic data may be stored in a device associated more directly with the web server 104, for example, internal memory of the web server 104 such as an internal hard drive.

The MLN 213 may connect to other supervisory computers, not shown, Internet gateways including, by way of example, the web server 104, or other gateways to other external devices, not shown, as well as to additional network managers (which in turn connect to more subsystems via additional low level data networks). The MLN 212 may suitably comprise an Ethernet or similar wired network and may employ TCP/IP, BACnet, and/or other protocols that support high speed data communications.

Thus, the system 200 shows an example of a building control system architecture that includes a BCS data source 102 in the form of the supervisory computer 202. It will be appreciated that other BCS architectures may be used in connection with the present invention.

FIG. 4 shows in further detail an exemplary embodiment of a web server 400 that may be used as the web server 104 of FIG. 1. The web server 400 in the exemplary embodiment described herein is operable to generate web pages and communicate web pages and other data to clients, such as the client 108, over the Internet. The web server 400 includes a conventional IIS server 402 that includes Active Server Pages (“ASP”) functionality 404, storage devices 406 that store, among other things, ASP pages 408, and an optional conversion utility. The IIS server 402 having ASP functionality 404 is a commercially available software product, available from Microsoft Corporation of Redmond, Wash., that allows for the automated generation of HTML, XML or other pages using dynamic data.

Further explanation and function of the IIS server 402, the ASP functionality 404 and the ASP pages 408 is provided below in connection with the discussion of FIG. 5. FIG. 5 shows in detail an exemplary diagram of the operations of the various elements of FIGS. 1 and 4 in accordance with aspects of the invention. For the purposes of FIG. 5, it will be assumed that the web server 400 shown in FIG. 4 is the web server 104 of FIG. 1. The sequence of operations described in FIG. 5, as well as the software elements used to carry out the operations, are only an exemplary way of carrying out the present invention. Thus, while elements of the embodiment described in connection with FIG. 5 has particular advantages, at least some of the advantages of the invention may be obtained in other embodiments that generally provide Internet updates to graphics without re-downloading the entire graphic with each update.

The exemplary graphical display operation of BCS data at the client 108 begins when the client 108 contacts the web server 104 to open or begin a session (step 502). To this end, the client 108 transmits an http request with the web server's URL over the Internet 106. The web server 104 will typically execute an authentication procedure to determine whether the user at the client 108 has access to the BCS data. Any suitable authentication procedure, including ID and password verification, may be used.

After the user at the client 108 has been authenticated, the session is opened and the web server 104 causes a first page to be generated and transmitted (step 504). The first page is an HTML page that includes a list of selectable graphics pages. For example, the list would allow the user to select any of a plurality of graphic pages, such as, for example, the graphics page 300 of FIG. 3.

To this end, the ASP functionality 404 causes generation/execution of a first ASP page 408 in the exemplary embodiment described herein. The first ASP page 408 both generates the HTML page with the list of graphics and runs a VB script that causes a first main DCOM object to be established, or instantiated, in the BCS data source. The first main DCOM object is generated using the DCOM automation interface as is known in the art (step 505). However, the data source 102 may employ a DCOM custom interface as is known in the art to allow for greater functionality.

In particular, it is known in the art that the DCOM custom interface provides for greater flexibility and functionality in a DCOM server. Thus, although only the more limited DCOM automation interface is generally accessible using VB script, it is often desirable that the BCS data source 102 employ a DCOM custom interface. Because the VB script run by the ASP page 408 cannot use a DCOM custom interface, the DCOM object operations requested by the VB script on the ASP page must be converted from the DCOM automation interface to the DCOM custom interface. To convert between the DCOM custom interface and the DCOM automation interface, the conversion utility 410 performs a DCOM wrapper function that translates DCOM automation interface objects into a DCOM custom interface object usable by the DCOM server of the data source 102. The generation of such a wrapper fuinction for the DCOM automation interface to provide access to any particular DCOM custom interface would be known to those of ordinary skill in the art and who have knowledge of the custom interface.

In any event, in step 505, the main DCOM object on the data source 102 is opened via the first ASP page. As discussed above, the first ASP page also generates an initial HTML page of graphic page links to be provided to the client 108. The list is in the form of a list of hyperlinks, one for each selectable graphics page.

The web server 104 transmits the generated initial page that displays a list of graphic pages that may be viewed. Upon receiving the page generated in step 504, the web browser software in the client 108 displays the web page. In particular, the web browser causes the display of the list of hyperlinks to the available graphic pages. The user may then select a graphics page for display by selecting one of the hyperlinks. Upon selection of a hyperlink corresponding to a select graphics page, the client 108 generates an http request for the select graphics page (step 506). The client 108 transmits the http request to the web server 104 over the Internet 106.

Referring to FIG. 4, the IIS server 402 of the web server 400 receives the http request and executes instructions from a second ASP page 408 using the requested graphics page name as a parameter “graphics_name” (step 508). In general, execution of the second ASP page 408 causes a specific DCOM graphics object to be instantiated in which graphical image data and graphic configuration parameters for the select graphic may be accessed. It is noted that in the exemplary embodiment described herein, the background graphic data and variable control configuration information is accessed through the BCS data source 102, and may, for example, be stored in the database 204 of FIG. 2. The second ASP page 408 also transmits the interpreted language program file that renders the graphics, as will be discussed further below.

To this end, the second ASP page 408 uses a VB script to parse the graphics_name information from the http request. The VB script then generates a get-graphics call for the graphics_name as a DCOM object or component. The data server 102 sets up a DCOM graphics object, and then retrieves in memory (i.e. the BCS database 204) the stored graphics information file corresponding to the graphics_name (step 510). The file includes background graphics image data and configuration data for the variable controls, as well as instructions as to where to locate the variable controls on the graphics page. Each selectable graphic has associated with it a custom graphics information file.

After the DCOM graphics object is created and instantiated with data from the graphics information file associated with graphics_name, the second ASP page 408 generates an HTML page containing the interpreted program file (i.e. the Java Applet), and the graphics_name as a parameter (step 512).

The web server 104 transmits the HTML page to the client. 108. The interpreted language program file is received and executed at the client 108. In general, interpreted language program file is operable to cause a compatible web browser to 1) request and receive background graphic data (in JPEG or PNG format, e.g.), 2) request and receive XML files identifying a number of variable controls, their format and location, and 3) request and receive XML files containing BCS values corresponding to the variable controls. The interpreted language program file is further operable to cause a compatible web browser to build a graphics page based on the received data, the graphics page include the static background image and a number of variable controls, the variable controls each displaying information representative of at least one BCS value.

In step 514, the client 108, executing the downloaded program, generates an http request to a third ASP page 408. The IIS server 402 receives the request and executes the third ASP page 408 (step 516). The third ASP page 408 uses VB script to obtain a definition for the graphic graphics_name from the DCOM graphics object set up in step 510. As discussed above in connection with step 510, the DCOM graphics object provides access to the file containing the graphics definition for the graphics_name. The graphics definition includes the background graphics and variable control configuration data for the requested graphics page. The VB script thus obtains the background graphics and variable control configuration data. The third ASP page 408 generates an XML file therefrom. The IIS provides the XML file containing the graphics definition to the client 108 (step 518).

In further detail, the ASP page 408 provides the background graphic data in the constructed XML file as compressed (or uncompressed) image data. A particular format, for example, JPEG or PNG, should be used for all graphics to simplify the downloaded interpreted program. If background graphics are stored in the BCS data source 102 in a variety of formats, the web server 104 may translate the background image data to a format compatible with the downloaded interpreted program.

The ASP page 408 also provides XML files or paragraphs that describe the configuration of the variable controls on the requested graphics page. The variable controls are preferably in one of a finite number of predefined formats.

For example, referring to FIG. 3, the variable control may have a simple block format such as elements 310, 312, 314, 316, 318, 320, 322, 324, 326, 328 and 330. Alternatively, the variable control may alternatively have a bar graph format, such as the element 332 of FIG. 3. While the block format provides data values as a normal text value, the bar graph can illustrate a number value graphically on a scale. Other graphical representations of values include a radial gauge format, similar to a speedometer of a vehicle.

Each format has a generalized appearance, but has variable configuration parameters that modify its appearance. The format and configuration of each variable control is specified for each available graphics page.

Referring now specifically to the block formatted elements, such as elements 310, 312 etc., the configuration parameters may include layout information as well as information identifying which of the available BCS data values should be displayed. In particular, the configuration parameters define the color, layout, width, border style, and whether to show a name, a descriptor, a status value, a priority value, another value, units, or a total.

Similarly, a bar graph formatted element may include similar configuration parameters, but include other parameters specific to rendering a bar graph. For example, bar graph parameters may include parameters defining the upper value limit of the bar graph, the lower limit of the bar graph, the number of large and small “ticks”, and whether an adjustable command slide control should be included. Referring to FIG. 3, it will be appreciated that the bar graph element 332 is configured to have a low value limit of 35.0, a high value limit of 65.0, a Descriptor of “CHWS Temp”, and an adjustable command triangle. All of these features are defined in the XML configuration for that particular variable control.

It will be appreciated that other graphic control formats, for example, a radial gauge as discussed above, may be parameterized and configured in a similar manner.

To provide the predefined parameter or configuration information to the web client, the customizing configuration information is preferably formulated as an XML file. The following XML file format or schema may be used to pass configuration information for each element having a block format. <ElementType name=“infobloc” content=“eltOnly”>  <element type=“1ColorStyle” />  <element type=“1LayoutStyle” />  <element type=“1ColumnWidths” />  <element type=“bShowName” />  <element type=“bShowDescriptor” />  <element type=“bShowStatus” />  <element type=“bShowPriority” />  <element type=“bShowValue” />  <element type=“bShowUnits” />  <element type=“bShowTotal” />  <element type=“sBorderStyle” /> </ElementType/>

The XML structure is parsed by the graphics generating routine that is included in the interpreted-language program file previously provided to the client 108 in step 514.

While the configuration information defines the look and feel of the variable control, it is the actual BCS data values that determine the final appearance. Indeed, the purpose of the variable controls is to graphically present the BCS data values. However, in the embodiment described herein, the ASP page 408 initially (in step 518) formulates the XML file without actual BCS value data.

The client receives the graphics definition in the XML file (step 520) and begins rendering the corresponding graphics page, even though actual BCS values have not been received. To this end, the interpreted language program parses the received XML page and generates the graphics based on the background graphic data and the variable control configuration information contained therein.

The interpreted program further causes the client 108 to generate another http request to yet another ASP page 408 that contains a request for all the BCS values related to the graphics_name graphics page (step 522). The IIS server 402 receives the http request. The ASP page 408 then, using VB script, obtains any updated values from the DCOM graphics object. To this end, it is noted that the DCOM graphics object is configured to obtain updates to any BCS values associated with the graphics page. As long as the DCOM graphics object is open, the DCOM graphics object also receives and changes to any of the BCS values associated with the graphics_name graphics page.

The ASP page 408 generates an XML document that contains the BCS values for the graphics page (step 524) and provides XML document to the client 108. The BCS data or values are sent as raw text or numeric data, as opposed to graphic or image data.

The client 108 receives the BCS values and refreshes the previous “empty” graphic page by adding the BCS value information when rendering the variable control elements of the graphics page (step 526). The finished graphics page may, for example, resemble the graphics page of FIG. 3, or that of FIG. 5 of U.S. Pat. No. 6,157,943. In any event, the graphics page preferably includes static background graphics and a plurality of variable controls, each of the variable controls containing information representative of a BCS value. For example, the graphic 312 of FIG. 3 shows a variable control containing information representative of a BCS temperature value, the value being 34.00. The client 108 again executes the downloaded interpreted-language program to render the graphics with the BCS value information.

In summary, to build the graphics page, the client 108 web browser executes the interpreted-language program that had been during step 514. Under the control of that program, the client 108 parses the XML data and builds the background using the graphical data contained within the XML document. The client 108 also parses the variable control configuration information, and instantiates the variable control graphics using predefined rules for forming the variable control graphics. As discussed further above, these predefined rules are part of the interpreted language program files downloaded in step 514.

The client 108, also under the control of the interpreted-language program, parses the BCS data values and uses them in the final rendering of the variable controls. By way of example, to render the bar graph element 332 of FIG. 3, the client 108 parses the XML configuration information for that control to generate the overall structure of bar graph element 332, and uses a received BCS temperature value of 42.5 to determine the level or reference tick to which to extend the solid bar of the bar graph.

Once the background graphics and the variable controls have been generated or rendered, the result is a viewable graphics page, such as, for example, the graphics page 300 of FIG. 3.

In accordance with one aspect of the invention, the viewable graphics page generated at the client 108 may be updated without retransmitting all of the graphic data. In particular, due to the interpreted-language program and the predefined XML structures of the graphic controls, the client 108 may redraw or update the graphics page with the same background and variable controls, but with different BCS values. The different BCS values will be reflected in the corresponding variable controls. For example, if client 108 were to redraw the graphics page 300 of FIG. 3 after the value for the CHWS Temp changes to 45.0, then the client 108 would redraw the bar graph element 332 with the bar graph filled in up to the reference tick corresponding to the value 45.0

To this end, the web server 104 obtains updates to the BCS values from the BCS data source 102 by executing an ASP page using a VB script to obtain any changed values from the DCOM graphics object (step 528). The ASP page provides updates to the BCS values as XML files to the client 108 (step 530). The client 108 parses the XML files and uses the parsed BCS values (and the previously provided configuration information and background graphics data) to redraw (the affected portion of) the graphics page (step 532).

In the embodiment described herein, there are two methods in which updates to the BCS values may occur. Updates to the BCS values may be polled by the client 108 on a scheduled (or unscheduled) basis, or updates may be pushed by the web server 104 to the client 108 as they occur. FIG. 6 shows an exemplary set of operations for updating BCS values (steps 528-532) wherein the updates are polled. FIG. 7 shows an exemplary set of operations for updating BCS values (steps 528-532) wherein the updates are pushed.

Referring to FIG. 6, the downloaded interpreted-language programs at the client 108 cause the transmission of an update request (as an http request) over the network 106 every N seconds (step 602). The request preferably represents a request for an update to any BCS values represented by the variable controls on the displayed graphics page. The IIS server 402 receives the request and causes its ASP functionality 404 to construct a responsive XML page. To this end, an ASP page 408 executes a VB Script to request any changed BCS values from the DCOM graphics object of the BCS data source 102 (step 604).

The BCS data source 102, which maintains updated BCS values in the established DCOM graphics object, provides the changed BCS values (step 606). It is noted that the BCS data source 102 may obtain the updated values in a plurality of ways known in the art.

Regardless of how the BCS data source 102 obtains the updated values, the BCS data source 102 provides the updated values to the ASP page 408. (See FIG. 4). The ASP page 408 formulates an XML document containing the updated BCS values received from the BCS data source 102. The IIS server 402 transmits the XML document to the client 108 (step 608). The client 108 receives the XML document and redraws any affect portions of the graphics page (step 610). To this end, the client 108 employs the downloaded interpreted language program, the previously received background graphic data, the previously received variable control configuration information and the newly-received and parsed BCS update values and redraws the graphics page in a manner similar to that described above in connection with step 526 of FIG. 5.

The steps 602-610 are then repeated every N seconds until the client 108 selects another graphics page or closes the session. Because web server 104 provides updated values while transmitting little or no graphical information over the network 106, the graphic update technique described above provides streaming graphic updates using relatively little bandwidth of the network 106, and requiring relatively little download time over the network 106. As a consequence, high quality streaming graphic representation of building control system data may be provided to client computers having a wide range of Internet access speeds. Even in clients having fast access speed, the reduced data content required to be transmitted eases the computational load on the web server 104, thereby facilitating better results and reduced cost in providing the streaming graphic services.

As discussed above, the new values may alternatively be pushed from the web server 104 instead of polled. To this end, the client 108 may generate an http request to receive updates to BCS values only if the relevant BCS values change. The client 108 transmits this http “push” request to the web server 104 (step 702).

The IIS server 402 receives the push request. In response, the above described ASP page 408 executes a VB Script to obtain updated BCS values for the graphics page via the DCOM graphics object of the BCS data source 102 (step 704). The call function causes execution of a DCOM graphics object that causes the BCS data source 102 to hold open a request for data until either a changed value is detected or a predetermined time out period has passed. The BCS data source 102 executes this DCOM graphics object (step 706). Thereafter, anytime a relevant BCS value is updated (or the predetermined time-out period has expired), the BCS data source 102 provides the updated values to the ASP page 408 (step 708). FIG. 8, discussed further below, shows in further detail an exemplary set of operations that may be performed by the BCS data source 102 that correspond to steps 706 and 708.

Referring again to FIG. 7, upon receiving an update, the ASP page 408 formulates an XML file or stream containing the updated BCS values. In a preferred embodiment, the XML file contains only those values that has changed, or an indication that no values have changed. In any event, the IIS server 402 transmits the XML file to the client 108 (step 710). The client 108 receives the XML file and redraws the graphics page (step 712). To render the graphic, the client 108 employs the downloaded interpreted-language program, the previously received background graphic data, the previously received variable control configuration information and the newly-received and parsed BCS update values. As noted above, the graphics page, while redrawn completely on the video screen of the client 108, need not be completely reformed when new values are received. Instead, only the affected areas of the graphics page need be reconfigured.

Thereafter, the client 108 automatically returns to step 702 to provide a new push request for the next change in the BCS values.

Thus, the web server 104 will automatically provide any new updates to associated BCS values to the client 108, and the client 108 will redraw the graphics page accordingly.

However, it will be appreciated to those of ordinary skill in the art that through operation of the DCOM object of a DCOM server, a request for updates often cannot be left open indefinitely. In particular, after a predetermined time-out period, the IIS server 402 sends a time-out message if no response to the DCOM request (step 704) occurs within a predetermined time. In such a case, one embodiment of the invention described herein causes the request to be renewed to avoid being timed out.

In particular, to keep the request for updates alive, the BCS data source 102 keeps the request for updates active until just prior to the end of the time-out period. If no updates are received in that time period, the BCS data source 102 returns data representative of no change in the BCS values (step 708). The IIS 402 may then pass on the data representative of no change to the client 108 in step 710. The client 108 may then proceed as described above to renew its request for updates.

FIG. 8 shows in further detail an exemplary set of operations performed by the BCS data source 102 to hold the update request open until a value change occurs or a time-out period is near expiration. The steps of FIG. 8 may thus be performed as steps 706 and 708 of FIG. 7. In general, the BCS data source 102 executes the DCOM object to perform the steps of FIG. 8 in response to a specific DCOM call, e.g. “getpushvalues”, generated by the IIS 402 (see step 704, discussed above).

In step 802, the BCS data source 102 starts a timing counter corresponding to the DCOM call to the DCOM object. The timing counter tracks the time within the current DCOM call and is used by the DCOM object to ensure that a response is generated prior to the expiration of the time-out period.

In step 804, the BCS data source 102 determines whether the current DCOM call or request has been open for more than a predetermined period of time. In other words, the BCS data source 102 determines whether the timing counter is greater than or equal to a predetermined limit. If so, then the BCS data source 102 begins to end the current DCOM call by proceeding to step 806. If not, however, then the BCS data source 102 holds the DCOM call open and proceeds to step 808. The predetermined period of time of step 804 is typically less than the time out period of the DCOM call generated by the IIS server 402. By way of example, if the time out period is ninety seconds, then the predetermined period of time in step 804 may suitably be eighty-five seconds.

If the predetermined period of time has elapsed, then in step 806, the DCOM object of the BCS data source 102 returns a “no changed values” response to the DCOM call. Step 806 thereby ends the current DCOM call.

If, however, the predetermine period has not elapsed, then in step 808, the BCS data source 102 pauses for a short period of time to await for new changes to the BCS values. The short pause may suitably less than one second, for example, one hundred milliseconds.

Thereafter, in step 810, the BCS data source 102 determines whether any changes to the relevant BCS values have occurred. As discussed above in connection with step 522, the DCOM object is configured to receive notification of any changes to BCS values of the present graphic. To this end, the DCOM object may suitably receive changed value flags corresponding to the various BCS values. If no changed value flags are detected in step 810, then the BCS data source 102 holds the DCOM call open and returns to step 804 to determine if the predetermined time period has expired since the DCOM call was received. If, however, the DCOM object has received changed value flags, then the BCS data source 102 proceeds to step 812.

In step 812, the BCS data source 102 resets the changed value flags and provides data representative of the changed values as the response to the DCOM call. Step 812 thereby ends the DCOM call.

As illustrated in FIG. 8, the DCOM object's response to the DCOM call is held open until either a changed value is detected, or a predetermined period of time has elapsed, whichever occurs first. As discussed above in connection with FIG. 7, the client 108 also automatically requests further updates (thereby causing the IIS 402 to create a new DCOM call) after receiving data provided in response to each previous DCOM call. The above sequence thus provides “pushed” update values in direct response to an update in values, instead of at predetermined intervals.

It will be appreciated that the above described embodiments are merely exemplary, and that those of ordinary skill in the art may readily devise their own implementations and modifications that incorporate the principles of the present invention and fall within the spirit and scope thereof. 

1. A method, comprising: a) instantiating a server object corresponding to a set of building control system (BCS) values; b) receiving an update request associated with the server object; c) holding the update request open until a change in at least one of the set of BCS values is acknowledged in the server object.
 2. The method of claim 1, wherein the server object is a DCOM object.
 3. The method of claim 1, wherein step c) further comprises releasing the update request if a predetermined amount of time expires.
 4. The method of claim 3, wherein step b) comprises receiving an update request from a requesting server and wherein the predetermined period of time is less than a time out period of the requesting server.
 5. The method of claim 1, further comprising d) providing a changed value of the set of BCS values to a requesting server.
 6. The method of claim 5, further comprising d) providing a changed value of the set of BCS values to a requesting web server.
 7. The method of claim 6, further comprising e) generating a file to be transmitted over the Internet, the file including data representative of the changed value.
 8. The method of claim 7, wherein step e) further comprises generating the file to be transmitted as an extended markup language file.
 9. A method, comprising: a) instantiating a server object on a data server corresponding to a set of building control system (BCS) values; b) generating in a web server a data request associated with the server object; c) providing the data request to the data server; d) providing a response to the data request if a change in at least one of the set of BCS values is acknowledged in the server object; e) holding the data request open and repeating step d) if no change in at least one of the set of BCS values is acknowledged and a predetermined time period has not elapsed since the data request was provided to the data server.
 10. The method of claim 9, wherein the server object is a DCOM object.
 11. The method of claim 9, wherein step e) further comprises releasing the data request if the predetermined amount of time has elapsed.
 12. The method of claim 11, wherein the predetermined period of time is less than a time out period of the web server.
 13. The method of claim 9, wherein step d) further comprises providing a changed value of the set of BCS values to the requesting server in the response.
 14. The method of claim 13, further comprising f) generating in the web server a file to be transmitted over the Internet, the file including data representative of the changed value.
 15. The method of claim 14, wherein step f) further comprises generating the file to be transmitted as an extended markup language file.
 16. A method, comprising: a) receiving at least one interpreted software program over the Internet using a web-browser; b) executing at least one interpreted software program to display at least a first graphical element representative of building control system information, the first graphical element having a fixed element and a variable element, the variable element representative of a first building control system value; c) executing at least one interpreted software program to generate a request for updated values, the request configured to cause a web server to generate server request to a data server, the generated server request configured to cause the data server to hold the server request open until a change in at least one of the set of building control system values is acknowledged in the server object and to provide to the web server a response to the server request including data representative of the acknowledged change, the request further configured to cause the web server to return at least a second value over the Internet responsive to the request, the second value comprising non-graphical information based on the data in the response to the server request; and d) executing at least one interpreted software program to display the first graphical element such that the variable element is representative of the second value.
 17. The method of claim 16 wherein at least one interpreted software program is written in the Java programming language.
 18. The method of claim 16 wherein the second value is transported in a mark-up language document.
 19. The method of claim 16 wherein the second value is transported in an extensible mark-up language document.
 20. The method of claim 16, wherein the generated server request is further configured to cause the data server to release the server request if a predetermined amount of time expires. 